<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>5g</title>
  <style>
    .wrapper{
      width: 500px;
      height: 500px;
      margin: 100px auto;
    }
    .container{
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      border: 0px solid #000000;
    }
  </style>
</head>
<body>
  <div class="wrapper">
    <div class="container">
<!--      <img width="50" src="https://p1.ssl.qhimgs1.com/sdr/400__/t01d6887dfae29d6d21.webp" alt="">-->
    </div>
  </div>
  <script>
    const container = document.querySelector('.container')
    const fragment = document.createDocumentFragment()
    let index = 0
    while (index < 100) {
      const img = new Image()
      img.src = 'https://p1.ssl.qhimgs1.com/sdr/400__/t01d6887dfae29d6d21.webp'
      img.width = 50
      img.height = 50
      img.objectFit = 'clip'
      fragment.appendChild(img)
      index++
    }
    container.appendChild(fragment)
    // fragment.appendChild()
  </script>
</body>
</html>
